package com.content_module.bean;

import java.util.List;

public class ProvinceBean {

    private List<ResultBean> result;

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * parentId :
         * name : 北京市
         * spell : BEI3JING1SHI4
         * initial : BJS
         * code :
         * zip :
         * level : 1
         * orderlist : 1
         * parentName :
         * childs : [{"parentId":"110000","name":"市辖区","spell":"SHI4HE2OU1","initial":"SHO","code":"","zip":"","level":1,"orderlist":1,"parentName":"","childs":[{"parentId":"110100","name":"平谷区","spell":"PING2GU3OU1","initial":"PGO","code":"010","zip":"101200","level":1,"orderlist":16,"parentName":"","childs":[],"id":"110117"}],"id":"110100"}]
         * id : 110000
         */

        private String parentId;
        private String name;
        private String spell;
        private String initial;
        private String code;
        private String zip;
        private int level;
        private int orderlist;
        private String parentName;
        private String id;
        private List<ChildsBeanX> childs;

        public String getParentId() {
            return parentId;
        }

        public void setParentId(String parentId) {
            this.parentId = parentId;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getSpell() {
            return spell;
        }

        public void setSpell(String spell) {
            this.spell = spell;
        }

        public String getInitial() {
            return initial;
        }

        public void setInitial(String initial) {
            this.initial = initial;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getZip() {
            return zip;
        }

        public void setZip(String zip) {
            this.zip = zip;
        }

        public int getLevel() {
            return level;
        }

        public void setLevel(int level) {
            this.level = level;
        }

        public int getOrderlist() {
            return orderlist;
        }

        public void setOrderlist(int orderlist) {
            this.orderlist = orderlist;
        }

        public String getParentName() {
            return parentName;
        }

        public void setParentName(String parentName) {
            this.parentName = parentName;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public List<ChildsBeanX> getChilds() {
            return childs;
        }

        public void setChilds(List<ChildsBeanX> childs) {
            this.childs = childs;
        }

        public static class ChildsBeanX {
            /**
             * parentId : 110000
             * name : 市辖区
             * spell : SHI4HE2OU1
             * initial : SHO
             * code :
             * zip :
             * level : 1
             * orderlist : 1
             * parentName :
             * childs : [{"parentId":"110100","name":"平谷区","spell":"PING2GU3OU1","initial":"PGO","code":"010","zip":"101200","level":1,"orderlist":16,"parentName":"","childs":[],"id":"110117"}]
             * id : 110100
             */

            private String parentId;
            private String name;
            private String spell;
            private String initial;
            private String code;
            private String zip;
            private int level;
            private int orderlist;
            private String parentName;
            private String id;
            private List<ChildsBean> childs;

            public String getParentId() {
                return parentId;
            }

            public void setParentId(String parentId) {
                this.parentId = parentId;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getSpell() {
                return spell;
            }

            public void setSpell(String spell) {
                this.spell = spell;
            }

            public String getInitial() {
                return initial;
            }

            public void setInitial(String initial) {
                this.initial = initial;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getZip() {
                return zip;
            }

            public void setZip(String zip) {
                this.zip = zip;
            }

            public int getLevel() {
                return level;
            }

            public void setLevel(int level) {
                this.level = level;
            }

            public int getOrderlist() {
                return orderlist;
            }

            public void setOrderlist(int orderlist) {
                this.orderlist = orderlist;
            }

            public String getParentName() {
                return parentName;
            }

            public void setParentName(String parentName) {
                this.parentName = parentName;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public List<ChildsBean> getChilds() {
                return childs;
            }

            public void setChilds(List<ChildsBean> childs) {
                this.childs = childs;
            }

            public static class ChildsBean {
                /**
                 * parentId : 110100
                 * name : 平谷区
                 * spell : PING2GU3OU1
                 * initial : PGO
                 * code : 010
                 * zip : 101200
                 * level : 1
                 * orderlist : 16
                 * parentName :
                 * childs : []
                 * id : 110117
                 */

                private String parentId;
                private String name;
                private String spell;
                private String initial;
                private String code;
                private String zip;
                private int level;
                private int orderlist;
                private String parentName;
                private String id;
                private List<?> childs;

                public String getParentId() {
                    return parentId;
                }

                public void setParentId(String parentId) {
                    this.parentId = parentId;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getSpell() {
                    return spell;
                }

                public void setSpell(String spell) {
                    this.spell = spell;
                }

                public String getInitial() {
                    return initial;
                }

                public void setInitial(String initial) {
                    this.initial = initial;
                }

                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }

                public String getZip() {
                    return zip;
                }

                public void setZip(String zip) {
                    this.zip = zip;
                }

                public int getLevel() {
                    return level;
                }

                public void setLevel(int level) {
                    this.level = level;
                }

                public int getOrderlist() {
                    return orderlist;
                }

                public void setOrderlist(int orderlist) {
                    this.orderlist = orderlist;
                }

                public String getParentName() {
                    return parentName;
                }

                public void setParentName(String parentName) {
                    this.parentName = parentName;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public List<?> getChilds() {
                    return childs;
                }

                public void setChilds(List<?> childs) {
                    this.childs = childs;
                }
            }
        }
    }
}
